package com.ohs.ohsoa.system.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ohs.ohsoa.system.dto.OvertimeLeaveStatisticsDto;
import com.ohs.ohsoa.system.entity.OvertimeLeaveStatistics;
import com.ohs.ohsoa.system.mapper.OvertimeLeaveInfoMapper;
import com.ohs.ohsoa.system.mapper.OvertimeLeaveStatisticsMapper;
import com.ohs.ohsoa.system.vo.OvertimeLeaveInfoCountParamVo;
import com.ohs.ohsoa.system.vo.OvertimeLeaveStatisticsVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 加班欠勤明细实现接口
 *
 * @author hds
 */
@Service
public class OvertimeLeaveStatisticServiceImpl extends ServiceImpl<OvertimeLeaveStatisticsMapper, OvertimeLeaveStatistics> implements OvertimeLeaveStatisticService {

    @Resource
    private OvertimeLeaveInfoMapper overtimeLeaveInfoMapper;
    
    @Resource
    private OvertimeLeaveStatisticsMapper overtimeLeaveStatisticsMapper;

    @Override
    public OvertimeLeaveStatisticsVo overtimeleavestatisticsSelect(OvertimeLeaveStatisticsDto overtimeLeaveStatisticsDto) {
		return overtimeLeaveStatisticsMapper.overtimeleavestatisticsSelect(overtimeLeaveStatisticsDto);
    }

    @Override
    public OvertimeLeaveInfoCountParamVo overtimeleaveinfocount(OvertimeLeaveStatisticsDto overtimeLeaveStatisticsDto) {
        return overtimeLeaveInfoMapper.overtimeleaveinfocount(overtimeLeaveStatisticsDto);
    }
}
